<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta
      http-equiv="X-UA-Compatible"
      content="IE=edge" />
    <meta
      name="viewport"
      content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      @keyframes spin {
        to {
          transform: rotate(1turn);
        }
      }
      @keyframes radius {
        50% {
          border-radius: 50%;
        }
      }
      @keyframes color {
        33% {
          color: orange;
        }
        66% {
          color: deeppink;
        }
      }
      @keyframes width {
        50% {
          border-width: 0.3em;
        }
      }

      .loading:before {
        content: '';
        display: block;
        width: 4em;
        height: 4em;
        margin: 0 auto 1em;
        border: 1.5em solid;
        color: yellowgreen;
        box-sizing: border-box;
        animation: 1s spin, 0.7s radius, 1.1s color, 1.3s width;
        animation-timing-function: linear;
        animation-iteration-count: infinite;
      }

      .loading {
        margin: auto;
      }

      body {
        margin: 0;
        display: flex;
        min-height: 100vh;
        text-align: center;
        background: #655;
        color: white;
      }
    </style>
  </head>
  <body>
    <p class="loading">Loading…</p>
  </body>
</html>
